package com.taylor.community.dao.elasticsearch;

import com.taylor.community.entity.DiscussPost;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;

/**
 * @author 26925
 */
@Repository
//直接继承父类ElasticsearchRepository即可，声明处理的实体类，主键类型
public interface DiscussPostRepository extends ElasticsearchRepository<DiscussPost,Integer> {
}
